\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status}{
\section{Zebulon::Underwater::ReportMotorStatus Class Reference}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status}\index{Zebulon::Underwater::ReportMotorStatus@{Zebulon::Underwater::ReportMotorStatus}}
}


Command message to set the desired thrust of a motor.  


{\ttfamily \#include $<$reportmotorstatus.h$>$}Inheritance diagram for Zebulon::Underwater::ReportMotorStatus::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_zebulon_1_1_underwater_1_1_report_motor_status}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status_adc9174ddf221c203725799506a964587}{
\hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status_adc9174ddf221c203725799506a964587}{ReportMotorStatus} ()}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status_adc9174ddf221c203725799506a964587}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status_accc941817f813d1e1c73e7ae6a271610}{
virtual \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status_accc941817f813d1e1c73e7ae6a271610}{$\sim$ReportMotorStatus} ()}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status_accc941817f813d1e1c73e7ae6a271610}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status_a62e216d6cf9ef6fcc87e5548b3ba1300}{WriteMessageBody} (CxUtils::Packet \&packet) const 
\begin{DoxyCompactList}\small\item\em Writes the contents of the message payload to the packet. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status_a9487bd137e5959f94abc4d8d16cc2804}{ReadMessageBody} (const CxUtils::Packet \&packet)
\begin{DoxyCompactList}\small\item\em Reads the contents of the message payload from the packet, and saves to internal data members. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status_ab9f3a3f1d30c79a95d10b0c0f7d4ad46}{
virtual void {\bfseries Print} () const }
\label{class_zebulon_1_1_underwater_1_1_report_motor_status_ab9f3a3f1d30c79a95d10b0c0f7d4ad46}

\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status_a4944eefd3165706a52ae526a68cd91f8}{
virtual Message $\ast$ \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status_a4944eefd3165706a52ae526a68cd91f8}{Clone} () const }
\label{class_zebulon_1_1_underwater_1_1_report_motor_status_a4944eefd3165706a52ae526a68cd91f8}

\begin{DoxyCompactList}\small\item\em Makes a clone of the message. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status_a8c98bd32b3e9a99f1f12f96f91fc10e5}{
unsigned char \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status_a8c98bd32b3e9a99f1f12f96f91fc10e5}{mMotor}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status_a8c98bd32b3e9a99f1f12f96f91fc10e5}

\begin{DoxyCompactList}\small\item\em Address of motor to report status from. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Command message to set the desired thrust of a motor. 

\subsection{Member Function Documentation}
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status_a9487bd137e5959f94abc4d8d16cc2804}{
\index{Zebulon::Underwater::ReportMotorStatus@{Zebulon::Underwater::ReportMotorStatus}!ReadMessageBody@{ReadMessageBody}}
\index{ReadMessageBody@{ReadMessageBody}!Zebulon::Underwater::ReportMotorStatus@{Zebulon::Underwater::ReportMotorStatus}}
\subsubsection[{ReadMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportMotorStatus::ReadMessageBody (const CxUtils::Packet \& {\em packet})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status_a9487bd137e5959f94abc4d8d16cc2804}


Reads the contents of the message payload from the packet, and saves to internal data members. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to read from.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status_a62e216d6cf9ef6fcc87e5548b3ba1300}{
\index{Zebulon::Underwater::ReportMotorStatus@{Zebulon::Underwater::ReportMotorStatus}!WriteMessageBody@{WriteMessageBody}}
\index{WriteMessageBody@{WriteMessageBody}!Zebulon::Underwater::ReportMotorStatus@{Zebulon::Underwater::ReportMotorStatus}}
\subsubsection[{WriteMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportMotorStatus::WriteMessageBody (CxUtils::Packet \& {\em packet}) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status_a62e216d6cf9ef6fcc87e5548b3ba1300}


Writes the contents of the message payload to the packet. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to write to.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/underwater/include/underwater/messages/\hyperlink{reportmotorstatus_8h}{reportmotorstatus.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/underwater/src/underwater/messages/\hyperlink{reportmotorstatus_8cpp}{reportmotorstatus.cpp}\end{DoxyCompactItemize}
